package com.popo.android.activity;

import org.vudroid.core.BaseViewerActivity;
import org.vudroid.core.DecodeService;
import org.vudroid.core.DecodeServiceBase;
import org.vudroid.core.models.ZoomModel;
import org.vudroid.pdfdroid.codec.PdfContext;

import com.popo.android.R;

import android.app.Activity;

public class MyViewPdf extends BaseViewerActivity {
	@Override
    protected DecodeService createDecodeService()
    {
        return new DecodeServiceBase(new PdfContext());
    }

	@Override
	public void setZoomResource(ZoomModel zoom) {
		// TODO Auto-generated method stub
		zoom.leftdrawable=R.drawable.left;
		zoom.rightdrawable=R.drawable.right;
		zoom.centerdrawable=R.drawable.center;
		zoom.serifsdrawable=R.drawable.serifs;
	}
}
